package com.hsh.maoduo.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class UserVO implements Serializable {


    /**
     * 用户名
     */
   @NotBlank
    private String username;

    /**
     * 密码
     */
    @NotBlank
    private String password;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}